package com.cy.pj.common.dao;

import com.cy.pj.common.pojo.Goods;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface GoodsDao {
//    @Select("select * from tb_goods")
    List<Goods> findGoods();

    Integer doDelete(Integer id);

    int doInsert(Goods goods);


    Goods findById(int id);

    int doUpdate(Goods goods);
}
